import { Meteor } from 'meteor/meteor';
import { Shops } from './shops.js';
Meteor.methods({
  'shops.update.cover'(id, fileid){
    return Shops.update(id, {
      $set: {
        cover_url: '/cfs/files/images/'+fileid
      }
    });
  }
});
